https://retellai.com/?utm_source=discord&utm_medium=seo logo
You guys desperately need decent docs - Here's ano...
# ❓・bug-report
p
I am trying to have a flow branch based on an {{order_type}} var. That var can only have 2 values (plus the err, of course): "delivery" or "pickup" I used a Logic Split Node with two possibles : {{order_type}} = "delivery" and {{order_type}} = "pick-up". The ELSE block is "WTF?? Not 'delivery' not 'pick-up'? What else can you be, you little piece of ?? Your order type is {{order_type}}. " Which outputs => WTF?? not 'delivery' not 'pick-up'? What else can you be, you little piece of ?? Your order type is delivery. A few "interesting" things: - {{order_type}} = "delivery", - {{order_type}} = delivery, - and {{order_type}} = 'delivery' are all functionally equivalent in that they all yield the exact same result... hitting the else block. FYI: I checked the obvious: delivery and pick-up are indeed spelled correctly and in the correct case. I even checked JS style and used == for equality. (Loool, yeah I was not hopeful, but I was getting desperate) Obviously, I am using the Logic Split incorrectly. The bigger issue is that I see no place where I can learn how to use it correctly. Also, there does not seem to be a way to verify a variable's value and branch according to that value. There really should be. AN OFFER: I think you guys are on to a great idea with a less than great implementation. I spent 11 years as a ghost writer simplifying tech stuff. I am willing to help (as much as I can given my other obligations) in rewriting your docs.
s
​It seems your Logic Split Node isn't evaluating the {{order_type}} variable as expected. Here are some steps to troubleshoot:​ Check Variable Assignment: Ensure that {{order_type}} is correctly assigned before the Logic Split Node executes.​ Verify Condition Syntax: Use double equals for comparison, like {{order_type}} == "delivery". Ensure there are no extra spaces or case mismatches.​ Debug Output: Add a temporary node before the Logic Split to output the value of {{order_type}} for verification.​ Consult Documentation: Refer to Retell AI's Debug Guide for more detailed troubleshooting steps. https://docs.retellai.com/build/conversation-flow/debug-guide
p
The problem is that it is intermittent! Honestly, I am losing patience with the whole thing (again) Today, retellai is running at a 32% error rate. That is a far cry from the <1% I find acceptable, even if assigning most of the blame for errors to me. I have no idea how people dare to build on this platform. Retell consistently ignores prompts or makes stuff up. It is simply not ready for prime time. When something as simple as branching based on variable value takes 6 hours(!?!) and still does not work? How can you call it a tool, it is barely functional as a toy. I have to cut somewhere, and I feel that 150 hours with minimal advancement is enough. It's a shame but I'm done. I'll try again on my next vacation in 3 months. Hopefully you will have : A: Half-decent docs. I will settle for quarter-decent. Now, I would classify them as a waste of paper (and yes, I am well aware no paper is used. The statement stands) B- Stuff that works if not predictably, at least throwing the same errors consistently. Well, I'm off to find another conversational flow tool.